ObjectDB Database Search

101-150 of 200 results

Catching exceptions from online backup

. join ( ) ; } catch ( InterruptedException e ) {     e . printStackTrace ... .     backupThread . start ( ) ;     backupThread . join ... of the inner catch block.   jakab Gergely Jakab Maybe the catch block is executed

No clue how to query with collection

INNER JOIN c.addresses ORDER BY SIZE(c.addresses) 0 ? CONCAT(c.addresses[0].street + c.addresses[1 ... this query: SELECT c, a FROM Customer INNER JOIN c.addresses a ORDER BY a.street WHERE a.active ... itself... Alex quasado Alexander Adam Maybe something like: SELECT c, a FROM Customer LEFT JOIN c.addresses

slow performance for a complex query

. When the inner query is not dependent on the outer query - no JOIN is required. But such nested ... of  Organisation . The inner loop is executed about 100M times. In cases with complex AND/OR structures like this, sometimes JOIN can only be implemented by nested full scan (and indexes cannot help

@OneToOne query issue with OR and IS NULL

query: SELECT a FROM A a JOIN a.another b WHERE a.another IS NULL OR b.counter = 0 You missed the A instance with no another because navigation through a relationship is implemented using JOIN (i.e. INNER JOIN ), and only the A instance that has another passes the FROM clause, which precedes

OR not working with isNull

INNER JOIN . This is a requirement of the JPA specification, which is known to cause some confusion. You have to use LEFT OUTER JOIN explicitly to cover entities with a null owner. support Support ... is probably converted to something such as: SELECT e FROM MyEntity e JOIN e.owner o WHERE o IS NULL

find repeated records by JPQL

splitting the query into two queries - first execute the inner query and then use the result collection as ... into two queries - first execute the inner query and then use the result collection as a parameter ... You may try splitting the query into two queries - first execute the inner query and then use

Searching lists within objects

to have the real object at search time. Trying to use join is problematic as for every extra attribute I add to the search, I need to add 2 more joins . Obviously this is not satisfactory.    ... ;       Join attributeJoin = cdi. join ("attributeList");    

problem using macbook with M1 chip?

;   Inner classes:     [ inner class info: #3 com/objectdb/o/UNM$f, outer class info: #33 com/objectdb/o/UNM      inner name: #37 f, accessflags: 24 static final] } a stack

Using Enum type in NamedQuery: Field is not found in type

Persistable Types page Thanks for the help asmiller Andrew Miller The problem may be related to using an inner ... .e. $ instead of . to represent the inner class name. The following example should work

Concerning coding style of the example in the posting instructions

inner classes for entity / embeddable classes.' The JPA2.0 final spect states: 'The entity class must be a top-level class.' While it may be handy to have a single file using static inner classes

Problem with distinct select, order by and equivalent alias/attribute path

; + "left join s.location as s_location "            ... ; + "left join s.location as s_location "            ... ;  + "left join s.location as s_location "          

Not releasing locked MST object

thread was trying to join another thread and it got stuck in that state for hours. "WebSocket ... . join (java.base@21.0.1/Thread.java:2078) at java.lang.Thread. join (java.base@21.0.1/Thread.java:2154 ... .Object.wait(java.base@21.0.1/Object.java:366)     at java.lang.Thread. join (java.base@21

com.objectdb.o.NLV cannot be cast to com.objectdb.o.RSV

Hello! This query is working fine SELECT DISTINCT $1 FROM ChatHistoryItem $1 JOIN $1.recipient $2 JOIN $1.sender $3 WHERE ($2.id='22afeafe-363f-4397-8553-cc5688ba142d') OR ($3.id='22afeafe-363f-4397 ... JOIN $1.recipient $2 WHERE ($2.id='22afeafe-363f-4397-8553-cc5688ba142d') ORDER BY MAX($1.createDate

Database size is much larger than expected (x2)

defined as inner static classes. support Support ??? What IDE you use? .persist() is in URIReader

Modifying something with Explorer -> app JPQL with Enum doesn't work anymore

. So...it was like the query received Type.BAD as parameter. This happens regardless of Type being an inner

Failed to read DB file while online backup is running

is happening again, although with different stacktrace (no inner exception is shown) and it is not

Query filter comparing Dates

am comparing 2 dates which should be equal because they are showing exactly same inner millisecond count

EntityManager JPA or JDO impl and different behavior

of the sample test in the posting instructions . Static inner classes should be used for the entity classes

Schema update: package, class and field

you are trying an embeddable class which is also an inner class (and that makes a difference in

Updating Entities

inner classes, if needed. In #5 the update is not visible because UPDATE queries in JPA bypasses

NPE when reading map from DB

Greetings, this NPE happened in our app first time today while reading objects from DB. Could u please check what could be the issue ? Inner message: Cannot invoke "com.objectdb.o.ORS.YD()" because " " is null -------------------- com.objectdb.o.TYR. (TYR.java:113) com.objectdb.o.ENT

JPA Query language support in OBjectDB / Sub query or nested Query

Sandeep Dhamale Inner queries are not supported yet. The issue tracking system contains

Another behavior of transaction isolation level in comparing to 2.8.7

= new MyEntity(); innerEntity.strValue = " inner Entity"; innerEm.persist(innerEntity); innerEm

jakarta.persistence.TypedQuery.getSingleResult()

and there is no transaction or the persistence context has not been joined to the transaction. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.TypedQuery.getSingleResultOrNull()

and there is no transaction or the persistence context has not been joined to the transaction. Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.TypedQuery.getResultList()

been joined to the transaction. QueryTimeoutException - if the query execution exceeds the query

jakarta.persistence.criteria.ListJoin.getModel()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.ListJoin ListAttribute getModel() Return the metamodel representation for the list attribute. Returns: metamodel type representing the List that is the target of the join . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.MapJoin.getModel()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.MapJoin MapAttribute getModel() Return the metamodel representation for the map attribute. Returns: metamodel type representing the Map that is the target of the join . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.StoredProcedureQuery.executeUpdate()

back. TransactionRequiredException - if there is no transaction or the persistence context has not been joined

jakarta.persistence.ForeignKey.value

will generate a constraint whose update and delete actions it determines most appropriate for the join column

jakarta.persistence.EntityManager.joinTransaction()

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager void joinTransaction() Indicate to the entity manager that a JTA transaction is active and join the persistence context to it. This method should be called on a JTA application managed entity manager that was created outside

jakarta.persistence.EntityManager.close()

is joined to an active transaction, the persistence context remains managed until the transaction completes

jakarta.persistence.EntityManager.lock(Object,LockModeType,LockOption...)

- if there is no transaction or if invoked on an entity manager which has not been joined to the current transaction. Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.EntityManager.refresh(Object,LockModeType)

on an extended entity manager that has not been joined to the current transaction and any lock mode other than NONE was specified. Since: Jakarta Persistence (JPA) 2.0

jakarta.persistence.EntityManager.lock(Object,LockModeType)

. TransactionRequiredException - if there is no transaction or if invoked on an entity manager which has not been joined

jakarta.persistence.EntityManager.lock(Object,LockModeType,Map)

. TransactionRequiredException - if there is no transaction or if invoked on an entity manager which has not been joined

jakarta.persistence.EntityManager.getLockMode(Object)

if the entity manager has not been joined to the current transaction. Since: Jakarta Persistence (JPA) 2.0

jakarta.persistence.EntityManager.refresh(Object,LockModeType,Map)

on an extended entity manager that has not been joined to the current transaction and any lock mode other than NONE was specified. Since: Jakarta Persistence (JPA) 2.0

jakarta.persistence.EntityManager.refresh(Object,RefreshOption...)

entity manager that has not been joined to the current transaction and any lock mode other than NONE was specified. Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.criteria.JoinType.LEFT

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.criteria.JoinType LEFT Left outer join . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.JoinType.RIGHT

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.criteria.JoinType RIGHT Right outer join . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.SynchronizationType.UNSYNCHRONIZED

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.SynchronizationType UNSYNCHRONIZED Persistence context must be explicitly joined to the current transaction Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.NamedQuery.lockMode

Jakarta Persistence (JPA) Method in jakarta.persistence.NamedQuery LockModeType lockMode (Optional) The lock mode type to use in query execution. If a lockMode other than LockModeType.NONE is specified, the query must be executed in a transaction and the persistence context joined

combined index not used

.linkedObjects join v$2). Step 5: Process ObjectProperty (v$3) instances (for every result tuple ... .hummingbird.ObjectProperty locating ObjectProperty (v$3) instances that satisfy: (v$1.properties join v$3 ... performance). Complex heavy queries with several JOIN operations require examining large number

Query Execution Error

JOIN $1.mitgliedschaft $2 LEFT JOIN $2.abteilungen $3 LEFT JOIN $3.abteilung $4 WHERE (((NOT ((($2 ... FROM com.lexware.vereinsverwaltung.verein.mitglied.Mitglied $1 LEFT JOIN $1.mitgliedschaft $2 LEFT JOIN $2.abteilungen $3 LEFT JOIN $3.abteilung $4 WHERE (((NOT ((($2 IS NOT NULL) AND ($3 IS NOT NULL

queries under 2.7.6_4 significantly slower than under 2.7.6

. What we can report is: using a reference query (you have our test db) select distinct o from ObjectNode o join o ... ) instances that satisfy:    (o.linkedObjects join v$1). [Step 2b] Evaluate fields in ... that satisfy:    (o.properties join v$2). [Step 3b] Evaluate fields in ObjectProperty (v$2

each 1-2 days objects on some objectdb level lock/block each other

:   select o from ObjectNode o join o.properties p1 join o.linkedObjects c1 where o ... ObjectNode o join o.properties p1 join o.properties p2 where (o.classIdentifier = "(OP)" and o.linkedObjects ... " and p2.doubleValue = 0)))   select distinct o from ObjectNode o join o.properties p1   join o

Issue with UPPER ?

Hi, Assuming those queries which are all the same except the UPPER calls: # Case (1) SELECT COUNT($1) FROM com.lexware.vereinsverwaltung.verein.mitglied.Mitglied $1 LEFT JOIN $1.mitgliedschaft $2 LEFT JOIN $1.profile $3 LEFT JOIN $3.organisation $4 LEFT JOIN $1.postalAddresses $5 LEFT JOIN $1

ObjectDB 2.8.8

Added initial support of Record entities. Implemented a new query method:  containsAnyKey . Improved field type error and internal error messages. Improved the Doctor output. Fixed a bug in using inner classes for query results. Fixed an error due to to an unused type referencing a deleted

Issues with JDO Casting & Full Qualified Names

very much!!! Alex quasado Alexander Adam The problem is only with inner classes, which are not expected